package ch.elca.training.dao.generic;

import org.springframework.jdbc.core.support.JdbcDaoSupport;

public abstract class GenericDaoJdbcImpl<T> extends JdbcDaoSupport implements GenericDao<T, Long> {

	protected Long getNextSequenceValue() {
		return getJdbcTemplate().queryForLong("select next value for PK_SEQUENCE from dual");
	}
}
